//
//  CarModifyEditorViewController.h
//  HondaPro_2
//
//  Created by ht on 13-7-20.
//  Copyright (c) 2013年 glendale. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NIDropDown.h"
#import "popContentViewController.h"
#import "DDPopoverBackgroundView.h"
#import "CarCustomerInKeHuCell.h"
#import "QueryCustomerTableViewCell.h"
#import "CustomerInsideViewController.h"
@interface CarModifyEditorViewController : UIViewController<NIDropDownDelegate,UITableViewDataSource,UITableViewDelegate,ContentViewControllerDelegate,UITextFieldDelegate>
{
    NIDropDown *dropDown;
    UIViewController *panleCon;
    popContentViewController *contentCon;
    UIButton *_currentButton;
}
@property(nonatomic,strong)UITableView *subNewTableView;
@property(nonatomic,strong)CarCustomerInKeHuCell *carCustomerInKeHuCell;
@property(nonatomic,strong)QueryCustomerTableViewCell *queryCustomerTableViewCell;
@property(nonatomic,strong)CustomerInsideViewController *customerInsideViewController;

@property(nonatomic,strong)NSMutableDictionary *biaoGeDit;

@property(nonatomic,strong)UITextField *carframe;
@property(nonatomic,strong)UIButton *manufacturer;
@property(nonatomic,strong)UITextField *licenseplate;
@property(nonatomic,strong)UIButton *model;
@property(nonatomic,strong)UITextField *engineField;
@property(nonatomic,strong)UITextField *transmissionField;
@property(nonatomic,strong)UITextField *Inparagraph;
@property(nonatomic,strong)UITextField *exhaust;
@property(nonatomic,strong)UIButton *transmissionType;

@property(nonatomic,strong)UIButton *insideColor;
@property(nonatomic,strong)UIButton *carClolr;
@property(nonatomic,strong)UITextField *keyNumber;
@property(nonatomic,strong)UIButton *countriesCodeName;
@property(nonatomic,strong)UIButton *carUse;
@property(nonatomic,strong)UITextField *warrantyNumber;
@property(nonatomic,strong)UILabel *monthsOfNumber;

@property(nonatomic,strong)UIButton *insuranceCompany;
@property(nonatomic,strong)UIButton *PurchaseDate;
@property(nonatomic,strong)UIButton *DueDate;
@property(nonatomic,strong)UIButton *checkStartDate;
@property(nonatomic,strong)UIButton *buyDate;
@property(nonatomic,strong)UIButton *registrationDate;
@property(nonatomic,strong)UIButton *firstTimeDate;
@property(nonatomic,strong)UITextField *lastComingMileage;

@property(nonatomic,strong)UIDatePicker *datePicker;
@property(nonatomic,strong)UIPopoverController *popCon;

@property(nonatomic,strong)UIView *backgroundView;

@property(nonatomic,strong)UIButton *carMasterButton;
@property(nonatomic,strong)UIButton *carUserButton;
@property(nonatomic,strong)UIButton *carDrivingButton;
@property(nonatomic,strong)UIButton *saveButton;

@property(nonatomic,strong)UIButton *WarrantyOptions;

@property(nonatomic,strong)UILabel *baoXiuDaoQi;
@property(nonatomic,strong)UILabel *layerLabel;
@property(nonatomic,strong)UIButton *baoXiuDaoQiRi;
@property(nonatomic,strong)UILabel *baoXiuLiChen;
@property(nonatomic,strong)UITextField *liChenShuRu;

@property(nonatomic,strong)UILabel *baoxiangongsi;
@property(nonatomic,strong)UILabel *baoxiangoumai;
@property(nonatomic,strong)UILabel *baoxiandaoqi;

@property(nonatomic,strong)NSMutableArray *CarModifyDataArray;

@property(nonatomic,strong)NSMutableArray *queryDataArray;
@property(nonatomic,strong)NSMutableDictionary *queryRowData;

@property(nonatomic,strong)NSMutableArray *manufacturerArray;
@property(nonatomic,strong)NSMutableArray *manufacturerId;

@property(nonatomic,strong)UIView *keHuPopView;
//*弹出框内容
@property(nonatomic,strong)UITableView *queryTableView;
@property(nonatomic,strong)UITextField *queryNumberField;
@property(nonatomic,strong)UITextField *queryNameField;

@property(nonatomic,strong)UIButton *queryButton;
//数据字典
@property(nonatomic,strong)NSMutableDictionary *carModifyDataDit;

//通用尼玛表
@property(nonatomic,strong)NSMutableDictionary *dicTmp;
//生产厂家
@property(nonatomic,strong)NSMutableArray *carShopArray;
@property(nonatomic,strong)NSString *carShopId;
//车型
@property(nonatomic , strong)NSMutableArray *carTypeArray;
@property(nonatomic , strong)NSString *carTypeId;
//内装颜色
@property(nonatomic,strong)NSMutableArray *carInerColorArray;
@property(nonatomic,strong)NSString *carInerColorId;
//车辆颜色
@property(nonatomic,strong)NSMutableArray *carColorArray;
@property(nonatomic,strong)NSString *carColorId;

//客户类型选择按钮
@property(nonatomic,strong)UIButton *customerTypeXy;
@property(nonatomic,strong)UIButton *customerTypePt;

//id转name（内装颜色和车辆颜色）
@property(nonatomic,strong)NSMutableArray *neiZhuangColorArray;
@property(nonatomic,strong)NSMutableArray *cheLiangColorArray;

@property(nonatomic,strong)UITextField *importantNotice;
@property(nonatomic,strong)UITextField *remark;
-(void)addNotification;
-(void)removeNotification;

@end
